home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K GPO 1.xpl < prev    next >
Text File  |  2002-08-02  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Network\Security\ActiveDirectory"
  5. "UIPATH 2"="System\Security\Group Policy Objects"
  6. "UIPATH 3"="System\Security\Common"
  7. "UIPATH 4"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
  8. "NAME"="Group Policy Objects (GPO) Active"
  9. "VERSION"="1.21"
  10. "OSVERSION"="0001011"
  11. "LANGUAGE"="VBScript"
  12. "TEXT 1"="Enable Group Policy Objects (GPOs) on this computer"
  13. "DESCRIPTION 1"="An administrator in a Windows 2000 network normally sets Group Policy Objects (GPOs) to control the computers in the network."
  14. "DESCRIPTION 2"="These settings include which items are displayed to the user, which changes the user is allowed to make and other settings."
  15. "DESCRIPTION 3"="If this setting is disabled, the computers will only receive policy from the Local Group Policy Object; that is, it will not receive policy from the domain. This capability is useful for stand-alone computers, for example, employees' home computers."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20.  
  21.  
  22. sP="HKLM\Software\Policies\Microsoft\Windows\System\"
  23. sV1="DisableGPO" 'RD
  24. Sub Plugin_Initialize 
  25.     i=RegReadValue(sP & sV1)
  26.     if i<>1 then SetUIElement 1,true
  27. End Sub
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  b=GetUIElement(1)
  34.  if b=true then
  35.     Call RegWriteValue(sP & sV1,0,2) 
  36.  else
  37.     Call RegWriteValue(sP & sV1,1,2) 
  38.  end if
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.